package com.yf.course.modules.course.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
* <p>
* 课程文件索引实体类
* </p>
*
* @author 聪明笨狗
* @since 2021-03-12 16:18
*/
@Data
@TableName("el_course_ref_file")
public class CourseRefFile extends Model<CourseRefFile> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 文件夹ID
     */
    @TableField("dir_id")
    private String dirId;

    /**
     * 文件ID
     */
    @TableField("file_id")
    private String fileId;

    /**
     * 课程ID
     */
    @TableField("course_id")
    private String courseId;

    /**
     * 要求学习秒数
     */
    @TableField("need_learn")
    private Integer needLearn;

    /**
     * 学完积分数量
     */
    private Integer points;

    /**
     * 课件排序
     */
    private Integer sort;

}
